<?php
namespace Core\CoreContracts;
/*
* States material enumeration
*/
class StateMaterial {

	/*
	* The material state is unknown
	*/
	const Unknown = 0;
	/*
	* The material state is defective. It have to be repair
	*/
	const Defective = 1;
	/*
	* The material state is out of order. It have to be repair or replace
	*/
	const OutOfOrder = 2;
	/*
	* The event is close to subscriptions
	*/
    const Repair = 3;
	/*
	* The event is running
	*/
    const Good = 4;
	
	/*
	* Get all available state
	*/
	public function getArray()
	{
		$class = new \ReflectionClass(__Class__);
		return $class->getConstants();
	}
}
?> 